page.tsx 845 B

123456789101112131415161718192021222324252627
  1. import { setRequestLocale } from "next-intl/server";
  2. import { FaqClient } from "./faq-client";
  3. type Props = { params: Promise<{ locale: string }> };
  4. export default async function FaqPage({ params }: Props) {
  5. const { locale } = await params;
  6. setRequestLocale(locale);
  7. return (
  8. <div className="relative min-h-screen overflow-hidden bg-[#050b14] font-sans">
  9. <div
  10. className="absolute inset-0 opacity-80"
  11. style={{
  12. backgroundImage:
  13. "linear-gradient(180deg, rgba(5,11,20,0.4) 0%, rgba(5,11,20,0.95) 100%), url('/about/bg-wave.png')",
  14. backgroundSize: "cover",
  15. backgroundPosition: "center",
  16. backgroundAttachment: "fixed",
  17. }}
  18. />
  19. <div className="relative z-10 px-6 pb-20 pt-16 md:px-8 md:pt-24">
  20. <FaqClient />
  21. </div>
  22. </div>
  23. );
  24. }